package com.bocai.kelala.ui.travel.set.contract;

import com.bocai.kelala.base.BaseView;
import com.bocai.kelala.bean.AddressListBean;
import com.bocai.mybase.bean.AddressPortBean;
import com.bocai.mybase.bean.ChangePhoneBean;

/**
 * Created by yuanfei on 2017/6/20.
 */

public interface AddAddressContract {

    interface view extends BaseView {

        void addAddressSuccess(AddressListBean.AddressesBean bean);

        void getAddressList(AddressListBean bean);

        void deleteAddressSuccess();

        void modifyAddress();


    }
    abstract static class presenter  {


        public abstract void addAddress(AddressPortBean bean);

        public abstract void addressList();

        public abstract void deleteAddress(String id);

        public abstract void modifyAddress(String id,AddressPortBean bean);

    }
}
